package com.doubao.msghadler;

import com.doubao.protocol.Msg;
import com.doubao.user.User;
import com.doubao.util.ChannelManage;
import io.netty.channel.Channel;


/**
 * description:StatusHandler
 * <p>
 * author:sult
 * time: 2018/11/2 11:31
 **/
public class StatusHandler extends AbstractMsgHandler {

    public StatusHandler(Msg msg, Channel fromChannel) {
        super(msg, fromChannel);
    }

    @Override
    protected Boolean sendWechatTplMsg() {
        return true;
    }

    @Override
    protected Boolean sendWebSoketMsg() {
        return ChannelManage.sendMsg(msg);
    }
}
